import request from "@/utils/request";

const baseUrl = "dictionary/";

/**
 * 表单需要的所有信息
 */
export function form() {
    return new request({
        url: `${baseUrl}form`,
        method: "GET"
    })
}

/**
 * 学生信息智能提示
 */
export function recommendStudent(studentName) {
    return new request({
        url: `${baseUrl}student/base`,
        method: "GET",
        params: {studentName}
    })
}

/**
 * 表单需要的所有信息
 */
export function recommendTeacher(teacherName) {
    return new request({
        url: `${baseUrl}teacher/base`,
        method: "GET",
        params: {teacherName}
    })
}